package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 礼物对象 A_gift
 * 
 * @author ruoyi
 * @date 2024-08-13
 */
public class AGift extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 礼物名称 */
    @Excel(name = "礼物名称")
    private String giftName;

    /** 礼物兑换所需积分 */
    @Excel(name = "礼物兑换所需积分")
    private Long giftScore;

    /** 礼物状态 */
    @Excel(name = "礼物状态")
    private Integer status;

    /** 礼品库存 */
    @Excel(name = "礼品库存")
    private Long giftStock;

    /**  */
    private Integer isDelete;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setGiftName(String giftName) 
    {
        this.giftName = giftName;
    }

    public String getGiftName() 
    {
        return giftName;
    }

    public void setGiftScore(Long giftScore) 
    {
        this.giftScore = giftScore;
    }

    public Long getGiftScore() 
    {
        return giftScore;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public void setGiftStock(Long giftStock) 
    {
        this.giftStock = giftStock;
    }

    public Long getGiftStock() 
    {
        return giftStock;
    }

    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("giftName", getGiftName())
            .append("giftScore", getGiftScore())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("giftStock", getGiftStock())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
